package client.whiteboard.model;

import java.io.Serializable;

public class Line implements Serializable
{
	private Point _p1;
	private Point _p2;
	private int _width;
	private int _type;
	private int _size;
	public Line(Point p1, Point p2, int size)
	{
		_p1 = p1;
		_p2 = p2;
		_size = size;
	}
	public void setP1(Point p1)
	{
		_p1 = p1;
	}
	public void setP2(Point p2)
	{
		_p2 = p2;
	}
	public Point getP1()
	{
		return _p1;
	}
	public Point getP2()
	{
		return _p2;
	}
	public int getSize()
	{
		return _size;
	}
}
